package cn.yangliu.nacos.comm.config.security.handler;

import java.util.List;

import org.springframework.security.core.Authentication;

/**
 * The interface Authority handler.
 *
 * @author 问道于盲
 */
public interface AuthorityHandler {

    /**
     * getUserAuthorizes
     *
     * @param authentication authentication
     * @return List<String>  list
     */
    List<String> findAuthorities(Authentication authentication);

}
